import { request } from "@/http/service"

export function getSeriesData(data: any) {
  return request({
    url: "/series/list",
    method: "post",
    data
  })
}

export function addSeriesData(data: any) {
  return request({
    url: "/series/add",
    method: "post",
    data
  })
}
export function editSeriesData(data: any) {
  return request({
    url: "/series/edit",
    method: "post",
    data
  })
}
export function removeSeriesData(id: string) {
  return request({
    url: `/series/delete/${id}`,
    method: "delete"
  })
}

export function batchRemoveSeriesData(data: any) {
  return request({
    url: "/series/batchDelete",
    method: "post",
    data
  })
}
